--include( 'ridecontroller.lua' )

GM.Name 		= "FunFair"
GM.Author 		= "ReaperSWE, G3X, SmokeDef"
GM.Email 		= ""
GM.Website 		= ""

function GM:PlayerNoClip( pl, on )
	
	// Don't allow if player is in vehicle
	if ( pl:InVehicle() ) then return false end
	
	// Always allow in single player
	if ( SinglePlayer() ) then return true end

	return true
end

function GM:GravGunPunt( ply, ent ) 
	if (ent:IsValid() && (ent:GetClass() == "ffseat" or ent:GetClass() == "ffscreen" or ent:GetClass() == "func_physbox") ) then
		return false
	end
end